package com.gy.ai.agent.platform.ollama.entity;

import com.gy.ai.agent.core.BaseResponse;
import com.gy.ai.agent.core.ReqOptions;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @author LGY
 * Create by 2025/6/18 14:43
 */
@Data
@Accessors(chain = true)
public class OllamaChatResp extends BaseResponse implements Serializable {

    private String model;

    private String created_at;

    private Message message;

    private Boolean done;

    private Long total_duration;

    private Long load_duration;

    private Long prompt_eval_count;

    private Long prompt_eval_duration;

    private Long eval_count;

    private Long eval_duration;

    @Data
    @Accessors(chain = true)
    public static class Message implements Serializable {

        private String role;

        private String content;

        /**
         * 单个图片一样base64形式提供
         */
        private List<String> images;
    }
}
